package com.heima.wemedia.mapper;

import com.heima.model.wemedia.dtos.WmNewsPageReqDto;
import com.heima.model.wemedia.pojos.WmNews;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface WmNewsMapper {

    List<WmNews> findById(@Param("userId") Integer userId, WmNewsPageReqDto dto);
}
